package com.hjsmallfly.syllabus.retrofitApi

import com.hjsmallfly.syllabus.bean.JsonResponse
import com.hjsmallfly.syllabus.bean.LessonDetailInfo
import retrofit2.http.GET
import retrofit2.http.Query
import rx.Observable

interface CreditApi {

    @GET("credit/api/v2.1/member")
    fun getLessonDetail(@Query("class_id") lessonID: Long): Observable<JsonResponse<LessonDetailInfo>>

}